package cn.iocoder.yudao.module.book.controller.app.eargrinding.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 音频分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppAudioPageReqVO extends PageParam {

    @Schema(description = "音频id", example = "7504")
    private Integer audioId;

    @Schema(description = "用户id", example = "15175")
    private Integer userId;

    @Schema(description = "绘本音频", example = "https://www.iocoder.cn")
    private String audioUrl;

    @Schema(description = "绘本id", example = "25170")
    private Integer bookId;

    @Schema(description = "音频进度（秒数）")
    private Integer progressSeconds;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}